﻿using System;

using System.ServiceModel;
using VideoServices.Common.Enum;

namespace VideoServices.PublishService
{
    [ServiceContract]
    public interface IDeliveryStatusService
    {
        /// <summary>
        /// Publishes the delivery status.
        /// </summary>
        /// <param name="deliveryId">The delivery id.</param>
        /// <param name="status">The status.</param>
        [OperationContract(IsOneWay = true)]
        void PublishDeliveryStatus(Guid deliveryId, DeliveryStatus status);
    }
}